﻿@model SuperiorModel.TPagedModelList<SuperiorModel.ManagerAccountOrderModel>
<table class="layui-table" id="AppList" lay-filter="test">
    <thead>
        <tr>
            <th>ID</th>
            <th>订单编号</th>
            <th>支付编号</th>
            <th>OPENID</th>
            <th>联系手机</th>
            <th>真实姓名</th>
            <th>提现金额</th>
            <th>创建时间</th>
            <th>支付时间</th>
            <th>备注</th>
            <th>状态</th>
            <th>操作</th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model.TList)
        {
            <tr>
                <td>@item.Id</td>
                <td>@item.OrderNo</td>
                <td>@item.PayCode</td>
                <td>@item.OpenId</td>
               
                <td>@item.PhoneNumber</td>
                <td>@item.TrueName</td>
                <td>@item.Amount</td>
                <td>@item.CreateTime</td>
                <td>@item.PayTime</td>
                <td>@item.Remark</td>
                <td>
                    @switch (item.OrderStatus)
                    {
                        case 1:
                            <span style="color:green">成功</span>
                            break;
                        case 0:
                            <span style="color:orangered">提现中</span>
                            break;
                        case 2:
                            <span style="color:orangered">失败</span>
                            break;

                    }
                </td>
                <td>
                    @if (item.OrderStatus == 0)
                    {
                        <a class="layui-btn layui-btn-normal layui-btn-xs layui-btn-mini transferAmount" href="javascript:void(0);" OrderNo="@item.OrderNo">转账</a>
                    }
                </td>
               
            </tr>
        }
    </tbody>
</table>
@Html.Partial("_TPager", Model.PagingResult)    